Builder

class Builder : GeneratedMessage.Builder<BuilderT> , MeshProtos.ChunkedPayloadOrBuilder

Protobuf type meshtastic.ChunkedPayload

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The total number of chunks in the payload
uint32 chunk_count = 2;
Link copied to clipboard

The current chunk index in the total
uint32 chunk_index = 3;
Link copied to clipboard

The binary data of the current chunk
bytes payload_chunk = 4;
Link copied to clipboard

The ID of the entire payload
uint32 payload_id = 1;
Link copied to clipboard
open fun getChunkCount(): Int

The total number of chunks in the payload
uint32 chunk_count = 2;
Link copied to clipboard
open fun getChunkIndex(): Int

The current chunk index in the total
uint32 chunk_index = 3;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getPayloadChunk(): ByteString

The binary data of the current chunk
bytes payload_chunk = 4;
Link copied to clipboard
open fun getPayloadId(): Int

The ID of the entire payload
uint32 payload_id = 1;
Link copied to clipboard
Link copied to clipboard
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.ChunkedPayload.Builder
Link copied to clipboard

The total number of chunks in the payload
uint32 chunk_count = 2;
Link copied to clipboard

The current chunk index in the total
uint32 chunk_index = 3;
Link copied to clipboard

The binary data of the current chunk
bytes payload_chunk = 4;
Link copied to clipboard

The ID of the entire payload
uint32 payload_id = 1;